<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>作业1</title>
	</head>
	<body>
		<script>
			if(window.confirm("是否跳转至百度首页")==true){
				open("https://www.baidu.com");
			}
		</script>
	</body>
</html>
